package com.example.userinterface.mapper;

import com.example.commonsinterface.po.City;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.Mapping;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface CityMapper {


    @Select("select * from cities")
    public List<City> list();

}
